package cn.com.yx.ms.persistence;

import cn.com.yx.ms.domain.dbmodel.JmProgramFileMap;
import cn.com.yx.ms.domain.program.ProgramFileModel;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface JmProgramFileMapMapper {
    int deleteByPrimaryKey(String guid);

    int insert(JmProgramFileMap record);

    int insertSelective(JmProgramFileMap record);

    JmProgramFileMap selectByPrimaryKey(String guid);

    int updateByPrimaryKeySelective(JmProgramFileMap record);

    int updateByPrimaryKey(JmProgramFileMap record);

    int deleteByProgramId(@Param("programid")String programid);

    List<ProgramFileModel> findByProgramId(@Param("programid")String programid);

    List<ProgramFileModel> findAll();

    int updateMapByResourceId(String resourceId);


}